import random

# 产生10个数
numbers = []
for i in range(10):
    numbers.append(random.randrange(0, 100))
print(numbers)

# 1. find the min number
idx = 0
min = numbers[idx]
for i in range(len(numbers)):
    if numbers[i] < min:
        idx = i
        min = numbers[i]

print(f"The min number is target[{idx}]={min}")

# 2. remove the min number
del numbers[idx]
print(numbers)

# 3. find the min number again
idx = 0
min = numbers[idx]
for i in range(len(numbers)):
    if numbers[i] < min:
        idx = i
        min = numbers[i]

print(f"The 2nd min number is target[{idx}]={min}")